#pragma once


#include "base.h"


#ifndef _WINDOWS_
	#include "windows.h"
#endif

typedef struct tagListPoint3D
{
	double x, y, z;
	struct tagListPoint3D *next;
	struct tagListPoint3D *before;
} LPOINT3D;

typedef struct tagBezier
{
	LPOINT3D *pnode;
	int iRadius;
	int iNum;

} Bezier;

void initBezier(Bezier *);
void releaseBezier(Bezier *);
unsigned char isEmtyBezier(Bezier *);

/*
	PPoint3D getNode(int index);
	void setNode(float xx, float yy, float zz, long keyValue, int index);
	long getKeyValue(float xx, float yy, float zz);
	long isInside(float xx, float yy, float zz);

	int getNumOfNode();
	void addHead(PPoint3D &p);
	int addHead(float xx, float yy, float zz, long keyValue);
	void addTail(PPoint3D &p);
	int addTail(float xx, float yy, float zz, long keyValue);

	long removeHead();	//return the key value of removed-node
	long removeTail();	//return the key value of removed-node
	int removeAll();	//return the number of node had been removed

	Point3D generatePoint(float ft, int nn, PPoint3D &p);

*/
